package com.ja.openchat.viewmodels;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.zy.openchat.core.model.group.GroupMemberInfo;

import java.util.List;

public class GroupSettingViewModel extends ViewModel {

    private MutableLiveData<List<GroupMemberInfo>> membersLiveData;

    public GroupSettingViewModel() {

    }

    public MutableLiveData<List<GroupMemberInfo>> groupInfoLiveData() {
        if (membersLiveData == null) {
            membersLiveData = new MutableLiveData<>();
        }
        return membersLiveData;
    }

}
